CROSS_COMPILE = arm-none-eabi-
AS	= $(CROSS_COMPILE)as
LD	= $(CROSS_COMPILE)ld
CC	= $(CROSS_COMPILE)gcc
CPP	= $(CC) -E
AR	= $(CROSS_COMPILE)ar
NM	= $(CROSS_COMPILE)nm
LDR	= $(CROSS_COMPILE)ldr
STRIP	= $(CROSS_COMPILE)strip
OBJCOPY = $(CROSS_COMPILE)objcopy
OBJDUMP = $(CROSS_COMPILE)objdump
RANLIB	= $(CROSS_COMPILE)RANLIB
SIZE    = $(CROSS_COMPILE)size -d

export CC CPP AR NM STRIP OBJCOPY OBJDUMP RANLIB SIZE LD

#Cortex-M3, thumb2
ARCH_CFLAGS := -mcpu=cortex-m3 -mthumb -Wall -O2 -fno-common -msoft-float

